
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 999999;
  display: block;
  float: none;
  margin: 0;
  padding: rem(10px) rem(30px);
  min-height: 0;
  max-height: auto;
  min-width: 0;
  max-width: 100%;
  width: auto;
  height: auto;
  text-align: center;
  font-size: rem(13px);
  border-radius: rem(5px);
  background-color: rgba(0,0,0,.8);
  box-shadow: none;
  color: #fff;
  pointer-events: none;
  user-select: none;
  transform: translate(-50%, -50%);
  transition: all 500ms ease-in-out;
  animation: toastOut 3.5s;
  animation-fill-mode: forwards;

  &.in {
    opacity: 1;
  }

  &.out {
    opacity: 0;
  }
}

@keyframes toastOut
{
	0%   {opacity: 1;}
	50%  {opacity: 1;}
	100% {opacity: 0;}
}